package com.lxmes.business.service;

import java.util.List;
import com.lxmes.business.domain.NcQualityInspection;

/**
 * 质量报检单Service接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface INcQualityInspectionService 
{
    /**
     * 查询质量报检单
     * 
     * @param id 质量报检单主键
     * @return 质量报检单
     */
    public NcQualityInspection selectNcQualityInspectionById(Long id);

    /**
     * 查询质量报检单列表
     * 
     * @param ncQualityInspection 质量报检单
     * @return 质量报检单集合
     */
    public List<NcQualityInspection> selectNcQualityInspectionList(NcQualityInspection ncQualityInspection);

    /**
     * 新增质量报检单
     * 
     * @param ncQualityInspection 质量报检单
     * @return 结果
     */
    public int insertNcQualityInspection(NcQualityInspection ncQualityInspection);

    /**
     * 修改质量报检单
     * 
     * @param ncQualityInspection 质量报检单
     * @return 结果
     */
    public int updateNcQualityInspection(NcQualityInspection ncQualityInspection);

    /**
     * 批量删除质量报检单
     * 
     * @param ids 需要删除的质量报检单主键集合
     * @return 结果
     */
    public int deleteNcQualityInspectionByIds(Long[] ids);

    /**
     * 删除质量报检单信息
     * 
     * @param id 质量报检单主键
     * @return 结果
     */
    public int deleteNcQualityInspectionById(Long id);
    /**
     * 导入质量报检单信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcQualityInspection> ncQualityInspectionList, boolean updateSupport, String operName);
}
